package com.wzy.springboot.enc;

import org.springframework.security.crypto.password.PasswordEncoder;

public class MyPasswordEncoder implements PasswordEncoder{

	@Override
	public String encode(CharSequence charSequence) {
		// TODO 自动生成的方法存根
		return charSequence.toString();
	}

	@Override
	public boolean matches(CharSequence charSequence, String s) {
		// TODO 自动生成的方法存根
		return s.equals(charSequence.toString());
	}

	
}
